package com.wy.framework.pojos;

import java.util.Date;

/**
 * TSysDatainterfacepermissions entity. @author MyEclipse Persistence Tools
 */

public class TSysDatainterfacepermissions extends
		AbstractPojo implements java.io.Serializable {

	// Fields

	private String authorityKey;
	private String roleId;
	private String interfaceId;
	private Date fromTime;
	private Date toTime;

	// Constructors

	/** default constructor */
	public TSysDatainterfacepermissions() {
	}

	/** minimal constructor */
	public TSysDatainterfacepermissions(String authorityKey) {
		this.authorityKey = authorityKey;
	}

	/** full constructor */
	public TSysDatainterfacepermissions(String authorityKey, String roleId,
			String interfaceId, Date fromTime, Date toTime) {
		this.authorityKey = authorityKey;
		this.roleId = roleId;
		this.interfaceId = interfaceId;
		this.fromTime = fromTime;
		this.toTime = toTime;
	}

	// Property accessors

	public String getAuthorityKey() {
		return this.authorityKey;
	}

	public void setAuthorityKey(String authorityKey) {
		this.authorityKey = authorityKey;
	}

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getInterfaceId() {
		return this.interfaceId;
	}

	public void setInterfaceId(String interfaceId) {
		this.interfaceId = interfaceId;
	}

	public Date getFromTime() {
		return this.fromTime;
	}

	public void setFromTime(Date fromTime) {
		this.fromTime = fromTime;
	}

	public Date getToTime() {
		return this.toTime;
	}

	public void setToTime(Date toTime) {
		this.toTime = toTime;
	}

}